<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<a>当前日期</a>
<div id="datetime"></div>
输入年份<input value="2024" id="year" placeholder="格式为“xxxx且大于当前日期”"><br>
输入月份<input id="month"><br>
输入日期<input id="day"><br>
输入小时<input id="hour"><br>
输入分钟<input id="min"><br>
输入秒<input id="sec"><br>
<button id="btn">生成倒计时</button>
<script src="../../../javascript/work/1/时间差.js"></script>
</body>
</html>